home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 012 / quickies.arc / REFRESH.BAT < prev    next >
DOS Batch File  |  1987-03-30  |  640b  |  24 lines

  1. echo off
  2. if "%1" == "" goto :help
  3. Echo Place destination diskette in %1 and
  4. pause
  5. for %%f in (*.*) do if exist %1\%%f copy %%f %1
  6. goto :done
  7. :help
  8. echo This routine will copy any files in the current drive and
  9. echo directory which also exist in the destination drive and
  10. echo directory, thereby placing the most current version on the
  11. echo destination.
  12. echo .
  13. echo    Call is:    REFRESH  d:\path    or
  14. echo                REFRESH  d:
  15. echo .
  16. echo   Where d:\path or d: is the destination.
  17. :done
  18.  
  19. :    REFRESH  d:\path    or
  20. echo                REFRESH  d:
  21. echo .
  22. echo   Where d:\path or d: is the destination.
  23. :done
  24.